package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.content.entity.CourseTeacher;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author 杨佳畅
 * @since 2022-04-02
 */
public interface CourseTeacherService extends IService<CourseTeacher> {

    List<CourseTeacherDTO> queryCourseTeacherById(Long courseBaseId, Long companyId);

    CourseTeacherDTO saveOrUpdateCourseTeacher(CourseTeacherDTO dto, Long companyId);

    void removeCourseTeacherById(Long courseBaseId, Long courseTeacherId, Long companyId);
}
